package com.ganyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ganyu.domain.ResponseResult;
import com.ganyu.domain.dto.AdminTagDto;
import com.ganyu.domain.entity.Tag;

/**
 * 标签(Tag)表服务接口
 *
 * @author chenxi
 * @since 2022-09-27 23:32:24
 */
public interface TagService extends IService<Tag> {


    //查询标签
    ResponseResult getTagList(Integer pageNum, Integer pageSize, AdminTagDto adminTagDto);

    //添加标签
    ResponseResult insertTag(Tag tag);

    //删除标签
    ResponseResult deleteTag(Long[] ids);

    //根据id查询标签
    ResponseResult getTagById(Long id);

    //修改标签
    ResponseResult updateTag(Tag tag);

    //查询所有标签
    ResponseResult getAllTag();
}

